<h1> ICS Students' Academic Information System : Modify Basic Information (Instructor) </h1>

	<?php
		echo form_open('instructor/modify_instructor_basicinfo'); 
	?>
	
	<table>
	
		<tr>
			<td width="140px"><?php echo form_label('Name: ');?></td>
			<td>
				<?php echo $name; ?>
			</td>
		</tr>
		
		<tr>
			<td><?php echo form_label('Employee ID: ');?></td>
			<td>
				<?php echo $emp_id; ?>
			</td>
		</tr>
		
		<tr>
			<td><?php echo form_label('Mobile Number: ','mobile_no');?></td>
			<td>
				<?php 
					$data = array(
						'name'        => 'mobile_no',
						'id'          => 'mobile_no',
						'value'       =>  $mobile_number,
						'maxlength'   => '11',
						'size'        => '12',
						'style'       => 'width:85%',
					);
					echo form_input($data);
				?>
			</td>
			<td>
				<?php echo form_error('mobile_no'); ?>
			</td>
		</tr>
		
		<tr>
			<td><?php echo form_label('Designation: ','designation');?></td>
			<td>
				<?php 
					$data = array(
						'name'        => 'designation',
						'id'          => 'designation',
						'value'       =>  $designation,
						'maxlength'   => '25',
						'size'        => '12',
						'style'       => 'width:85%',
					);
					echo form_input($data);
				?>
			</td>
			<td>
				<?php echo form_error('designation'); ?>
			</td>
		</tr>
		
		<tr>
			<td><?php echo form_label('Rank: ','rank');?></td>
			<td>
				<?php 
					$data = array(
						'name'        => 'rank',
						'id'          => 'rank',
						'value'       =>  $rank,
						'maxlength'   => '25',
						'size'        => '12',
						'style'       => 'width:85%',
					);
					echo form_input($data);
				?>
			</td>
			<td>
				<?php echo form_error('rank'); ?>
			</td>
		</tr>
		
		<tr>
			<td><?php echo form_label('Faculty Room: ','facultyroom');?></td>
			<td>
				<?php 
					$data = array(
						'name'        => 'facultyroom',
						'id'          => 'facultyroom',
						'value'       =>  $facultyroom,
						'maxlength'   => '4',
						'size'        => '12',
						'style'       => 'width:85%',
					);
					echo form_input($data);
				?>
			</td>
			<td>
				<?php echo form_error('facultyroom'); ?>
			</td>
		</tr>
		
	</table>
	<?php
		$data = array(
			'value' => 'Save',
			); 
		echo form_submit($data);
	?>
	<?php echo form_close(); ?>

	<?php echo anchor('instructor/index','Back to Home Page');?> </br>
	<?php echo anchor('instructor/logout','Logout');?>